package prob5;

import java.util.stream.Collectors;
import java.util.stream.IntStream;

public class main5 {
    public static void main(String[] args) {
        String s0= IntStream.range(1,11).map(value->value*4).mapToObj(String::valueOf).collect(Collectors.joining("_"));
        String s1= IntStream.range(1,11).filter(value->value%3==0).mapToObj(String::valueOf).collect(Collectors.joining("_"));
        System.out.println(s0);
        System.out.println(s1);
    }
}
